<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: contracts/eoslib/db.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_3fea0bf1ce879ce73e6ecec98007efcd.html">eoslib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">db.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="db_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="db_8h.html">eoslib/db.h</a>&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceeosio.html">eosio</a> {</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj.html">   20</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1table__impl__obj.html">table_impl_obj</a> {};</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">template</span>&lt;<span class="keywordtype">int</span> Primary, <span class="keywordtype">int</span> Secondary&gt;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl.html">   24</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1table__impl.html">table_impl</a>{};</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">template</span>&lt;&gt;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html">   28</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1table__impl.html">table_impl</a>&lt;sizeof(<a class="code" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a>),sizeof(<a class="code" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a>)&gt; {</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ab779d97ff21810f1130b55e119367771">   30</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ab779d97ff21810f1130b55e119367771">front_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga8859d7c4b352b66002cf5702a764c464">front_primary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    }</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a81de18435a6a2d6654f5c5d575bef243">   34</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a81de18435a6a2d6654f5c5d575bef243">back_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga093ef261efdf4ba1f92804ef8df3fcb2">back_primary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    }</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a656b0066c9dd3324a90875c2ffa6b3f9">   38</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a656b0066c9dd3324a90875c2ffa6b3f9">load_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga0f1d38db45982bb5d4d1befef0fa71de">load_primary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    }</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a8bcd9578802cc603df4456b7b2358f3a">   42</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a8bcd9578802cc603df4456b7b2358f3a">next_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga0244e6b697281bc05d94764af17a936b">next_primary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    }</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a1118483dfe5cfdc9db4e885ac297fa89">   46</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a1118483dfe5cfdc9db4e885ac297fa89">previous_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#gada7912d463fa7fcada424c66548491aa">previous_primary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    }</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a5a2c854655bc9d028e78ca8e2ad09faa">   50</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a5a2c854655bc9d028e78ca8e2ad09faa">upper_bound_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga1e1fc6293eddd10cd4155ef9ee2d945b">upper_bound_primary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    }</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ac18522cec1af165c618a6d4f038c2cbc">   54</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ac18522cec1af165c618a6d4f038c2cbc">lower_bound_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#gae929bc3cdb953dcddf027198b7edfb87">lower_bound_primary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ad2b20a599ac48e0c893a1887a84c3d6b">   58</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ad2b20a599ac48e0c893a1887a84c3d6b">front_secondary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#gaf4aabe650dd7a2e795acb6635255af2c">front_secondary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    }</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a276705f76d4dc728a798610ebfad826e">   62</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a276705f76d4dc728a798610ebfad826e">back_secondary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga9902025d081dff9690f78402c45a81a7">back_secondary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a5ec44017444fab8c604403e7b43c5f60">   66</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a5ec44017444fab8c604403e7b43c5f60">load_secondary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga00f17a7da0946ae71ab7d240c3dc3ecb">load_secondary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    }</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ae298b92bf93d7123b2d3c6bbeadeb7b8">   70</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ae298b92bf93d7123b2d3c6bbeadeb7b8">next_secondary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#gac421e93fee948b316e6d60d634600bfb">next_secondary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    }</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ad225ab871c24897669eaf383975a5d9d">   74</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ad225ab871c24897669eaf383975a5d9d">previous_secondary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga17c3922c81016650988af89e22090b9d">previous_secondary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    }</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a3358397ee2eebb30a855fa28276e418b">   78</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a3358397ee2eebb30a855fa28276e418b">upper_bound_secondary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga4251461fc0fcb2e9d19e5a367c1e487b">upper_bound_secondary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    }</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a4b1e12d534563c4982b6de19f7746816">   82</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a4b1e12d534563c4982b6de19f7746816">lower_bound_secondary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#gabeb18d4d78cc24e01d9f2a93c57fc09a">lower_bound_secondary_i128i128</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    }</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a09885b0c6f4e408796cc13c4a4afd67d">   86</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <span class="keyword">remove</span>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keyword">const</span> <span class="keywordtype">void</span>* data ) {</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga31cc0c52eccc34d97d28cfd373a2a356">remove_i128i128</a>( scope, table_n, data );</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    }</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ac5cb790d63cfe4af16d2b4f2e52d55e4">   90</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ac5cb790d63cfe4af16d2b4f2e52d55e4">store</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keyword">const</span> <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga86c181758bb05e5e85a5e5ea245feeab">store_i128i128</a>( scope, table_n, data, len );</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    }</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#abeb4e8c925831884d116188dcffe8d9f">   94</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#abeb4e8c925831884d116188dcffe8d9f">update</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keyword">const</span> <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi128i128.html#ga39a96fa6ebf0c2d43c2314f658a5604d">update_i128i128</a>( scope, table_n, data, len );</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    }</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;};</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="keyword">template</span>&lt;u<span class="keywordtype">int</span>64_t scope, u<span class="keywordtype">int</span>64_t code, u<span class="keywordtype">int</span>64_t table_n, <span class="keyword">typename</span> Record, <span class="keyword">typename</span> PrimaryType, <span class="keyword">typename</span> SecondaryType = <span class="keywordtype">void</span>&gt;</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structeosio_1_1table.html">  179</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1table.html">table</a> {</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;   <span class="keyword">private</span>:</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;   <span class="keyword">typedef</span> <a class="code" href="structeosio_1_1table__impl.html">table_impl&lt;sizeof( PrimaryType ), sizeof( SecondaryType )&gt;</a> <a class="code" href="structeosio_1_1table__impl.html">impl</a>;</div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="structeosio_1_1table.html#aed60ea9a6cabdd7d471c23656a88364c">  182</a></span>&#160;   static_assert( <span class="keyword">sizeof</span>(PrimaryType) + <span class="keyword">sizeof</span>(SecondaryType) &lt;= <span class="keyword">sizeof</span>(Record), <span class="stringliteral">&quot;invalid template parameters&quot;</span> );</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;   <span class="keyword">public</span>:</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;   <span class="keyword">typedef</span> PrimaryType <a class="code" href="structeosio_1_1table.html#aed60ea9a6cabdd7d471c23656a88364c">primary</a>;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structeosio_1_1table.html#a1005db7b573f6d10e02bd440e5e2e995">  186</a></span>&#160;   <span class="keyword">typedef</span> SecondaryType <a class="code" href="structeosio_1_1table.html#a1005db7b573f6d10e02bd440e5e2e995">secondary</a>;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html">  191</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structeosio_1_1table_1_1primary__index.html">primary_index</a> {</div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#abce65bbe7e4357ec9773ed260911b6e3">  198</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1primary__index.html#abce65bbe7e4357ec9773ed260911b6e3">front</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;         <span class="keywordflow">return</span> impl::front_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;      }</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#a585455b262a9336d322aaf7c72760333">  208</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1primary__index.html#a585455b262a9336d322aaf7c72760333">back</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;         <span class="keywordflow">return</span> impl::back_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;      }</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#a09d324b41f6bc408685510358a2656a5">  218</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1primary__index.html#a09d324b41f6bc408685510358a2656a5">next</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;         <span class="keywordflow">return</span> impl::next_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;      }</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#a6a92bead9254e47f9de1bf3ca66263cc">  228</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1primary__index.html#a6a92bead9254e47f9de1bf3ca66263cc">previous</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;         <span class="keywordflow">return</span> impl::previous_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;      }</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#a7bd46d6f3de09f5a7e4ffe41e717e457">  239</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">get</span>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;         *<span class="keyword">reinterpret_cast&lt;</span>PrimaryType*<span class="keyword">&gt;</span>(&amp;r) = p;</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;         <span class="keywordflow">return</span> impl::load_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;      }</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#a08395ff02bdb5ca81e944e473709a32a">  251</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1primary__index.html#a08395ff02bdb5ca81e944e473709a32a">lower_bound</a>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r ) {</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;         <span class="keywordflow">return</span> impl::lower_bound_primary( scope, code, table_n, &amp;p &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;      }</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#acf2526a920927b24f507eb9bac753604">  262</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1primary__index.html#acf2526a920927b24f507eb9bac753604">upper_bound</a>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r ) {</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;         <span class="keywordflow">return</span> impl::upper_bound_primary( scope, code, table_n, &amp;p &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;      }</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1primary__index.html#ab04b2de8ca31819496905df96e4abecc">  272</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">remove</span>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;         <span class="keywordflow">return</span> impl::remove( s, table_n, &amp;r ) != 0;</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;      }</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;   };</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html">  281</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structeosio_1_1table_1_1secondary__index.html">secondary_index</a> {</div><div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#a08ff936227b7dda93cec3aaebf2c728c">  288</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1secondary__index.html#a08ff936227b7dda93cec3aaebf2c728c">front</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;          <span class="keywordflow">return</span> impl::front_secondary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;       }</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#a17eb07b4e2c01113698b778daf753de9">  298</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1secondary__index.html#a17eb07b4e2c01113698b778daf753de9">back</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;          <span class="keywordflow">return</span> impl::back_secondary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;       }</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#a6565502bb9fb2c7361e935dc35cf90da">  308</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1secondary__index.html#a6565502bb9fb2c7361e935dc35cf90da">next</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;          <span class="keywordflow">return</span> impl::next_secondary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;       }</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#afa1dac6d882bbe45001bb90000c58c6b">  318</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1secondary__index.html#afa1dac6d882bbe45001bb90000c58c6b">previous</a>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;          <span class="keywordflow">return</span> impl::previous_secondary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;       }</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#a4a0197328f1c7ed0f4dc080407c53ac2">  329</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">get</span>( <span class="keyword">const</span> SecondaryType&amp; p, Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;          <span class="keywordflow">return</span> impl::load_secondary( s, code, table_n, &amp;p &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;       }</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#a7cf9295145c37cabc471b55ed5eaf7e1">  341</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1secondary__index.html#a7cf9295145c37cabc471b55ed5eaf7e1">lower_bound</a>( <span class="keyword">const</span> SecondaryType&amp; p, Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;          <span class="keywordflow">return</span> impl::lower_bound_secondary( s, code, table_n, &amp;p &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;       }</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#a027e35406eb8f7dd645c5597b9da9965">  352</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_1_1secondary__index.html#a027e35406eb8f7dd645c5597b9da9965">upper_bound</a>( <span class="keyword">const</span> SecondaryType&amp; p, Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;          <span class="keywordflow">return</span> impl::upper_bound_secondary( s, code, table_n, &amp;p &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;       }</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="structeosio_1_1table_1_1secondary__index.html#a8e0a90d68b52ee39c00b00b899ea6952">  362</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">remove</span>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;          <span class="keywordflow">return</span> impl::remove( s, table_n, &amp;r ) != 0;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;       }</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    };</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="structeosio_1_1table.html#aa21c1502397afb2cd3952e799fc391c0">  377</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">get</span>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;       *<span class="keyword">reinterpret_cast&lt;</span>PrimaryType*<span class="keyword">&gt;</span>(&amp;r) = p;</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;       <span class="keywordflow">return</span> impl::load_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    }</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;</div><div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="structeosio_1_1table.html#ac2e0a113e71ced0ef76d264896d121fe">  390</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table.html#ac2e0a113e71ced0ef76d264896d121fe">store</a>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;       <a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>( impl::store( s, table_n, &amp;r, <span class="keyword">sizeof</span>(r) ), <span class="stringliteral">&quot;error storing record&quot;</span> );</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    }</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;</div><div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="structeosio_1_1table.html#a821eaa08caa976e17c4543c4be09713e">  403</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table.html#a821eaa08caa976e17c4543c4be09713e">update</a>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;       <a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>( impl::update( s, table_n, &amp;r, <span class="keyword">sizeof</span>(r) ), <span class="stringliteral">&quot;error updating record&quot;</span> );</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    }</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div><div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="structeosio_1_1table.html#a8008464d6461f160449763dce3d4d372">  416</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">remove</span>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;       <span class="keywordflow">return</span> impl::remove( s, table_n, &amp;r ) != 0;</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    }</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160; };</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;<span class="keyword">template</span>&lt;&gt;</div><div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html">  423</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1table__impl.html">table_impl</a>&lt;sizeof(<a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>),0&gt; {</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160; </div><div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#ac443e3269ad18cae144db226b68592b6">  425</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#ac443e3269ad18cae144db226b68592b6">front_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#ga75fc1182cf2fc76604bfce4b6066bd62">front_i64</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    }</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a897c4057103150541df53e436651ea54">  429</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a897c4057103150541df53e436651ea54">back_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#gae7756b507e7dfc530127a936de8af77d">back_i64</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    }</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a51cbc6ff29b3cbbb2f42d16b2793e19d">  433</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a51cbc6ff29b3cbbb2f42d16b2793e19d">load_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#gad3fd3e46fff8f036d13405ffea3694ef">load_i64</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;    }</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div><div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a9e5243a08cf118aaf53ddee8881f4c68">  437</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a9e5243a08cf118aaf53ddee8881f4c68">next_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#gab092362b1095ea7712a8cd3c5e23432d">next_i64</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    }</div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;</div><div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a757f7b9ddec0c859f099b47f412573d6">  441</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a757f7b9ddec0c859f099b47f412573d6">previous_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#ga2c28d72f6d9a769fd009e520aba1a23f">previous_i64</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    }</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;</div><div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a1682cd50e42d61936a5cb2849dae160d">  445</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a1682cd50e42d61936a5cb2849dae160d">lower_bound_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#ga85171d550af40df7704b02c16fef3e29">lower_bound_i64</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;    }</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;</div><div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a8f6332e4ab69d70c9597ee29e98ea30c">  449</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a8f6332e4ab69d70c9597ee29e98ea30c">upper_bound_primary</a>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> code, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#gae5a73591c3962aea98e02d42948865b8">upper_bound_i64</a>(scope, code, table_n, data, len);</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;    }</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;</div><div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#ae70749c60dd95ef756000593af6842ac">  453</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <span class="keyword">remove</span>( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> scope, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> table_n, <span class="keyword">const</span> <span class="keywordtype">void</span>* data ) {</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#gafc8eea376abd5f3807e3361ea0c455e1">remove_i64</a>( scope, table_n, (<a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>*)data);</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;    }</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;</div><div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a30b05444df070322650ffeb88df4d61a">  457</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a30b05444df070322650ffeb88df4d61a">store</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keyword">const</span> <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#gab722acdec925f6ac9c7a8a38f42c78d6">store_i64</a>( scope, table_n, data, len );</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;    }</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;</div><div class="line"><a name="l00461"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#adf710073525e2157a4f6b5d6ec8c82b9">  461</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#adf710073525e2157a4f6b5d6ec8c82b9">update</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keyword">const</span> <span class="keywordtype">void</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;       <span class="keywordflow">return</span> <a class="code" href="group__dbi64.html#gad2546b4764f3728f9bc7ffaf3953fb60">update_i64</a>( scope, table_n, data, len );</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    }</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;};</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;<span class="keyword">template</span>&lt;u<span class="keywordtype">int</span>64_t scope, u<span class="keywordtype">int</span>64_t code, u<span class="keywordtype">int</span>64_t table_n, <span class="keyword">typename</span> Record, <span class="keyword">typename</span> PrimaryType&gt;</div><div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html">  535</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1table.html">table</a>&lt;scope,code,table_n,Record,PrimaryType,void&gt; {</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;   <span class="keyword">private</span>:</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;   <span class="keyword">typedef</span> <a class="code" href="structeosio_1_1table__impl.html">table_impl&lt;sizeof( PrimaryType ),0&gt;</a> impl;</div><div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a9ce2b580a66e886bdb8c02369caeee9e">  538</a></span>&#160;   static_assert( <span class="keyword">sizeof</span>(PrimaryType) &lt;= <span class="keyword">sizeof</span>(Record), <span class="stringliteral">&quot;invalid template parameters&quot;</span> );</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;   <span class="keyword">public</span>:</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;   <span class="keyword">typedef</span> PrimaryType <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a9ce2b580a66e886bdb8c02369caeee9e">primary</a>;</div><div class="line"><a name="l00545"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html">  545</a></span>&#160;   <span class="keyword">struct </span>primary_index {</div><div class="line"><a name="l00551"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a3bf72051f35c5a11f70e658f50b56673">  551</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a3bf72051f35c5a11f70e658f50b56673">front</a>( Record&amp; r ) {</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;         <span class="keywordflow">return</span> impl::front_primary( scope, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;      }</div><div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;</div><div class="line"><a name="l00560"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a955eb5d4fbe6eeff5e3e38a87cf69fde">  560</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a955eb5d4fbe6eeff5e3e38a87cf69fde">back</a>( Record&amp; r ) {</div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;         <span class="keywordflow">return</span> impl::back_primary( scope, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;      }</div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;</div><div class="line"><a name="l00569"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#ada2fd80e8f0841bda9d1170ed025e94e">  569</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#ada2fd80e8f0841bda9d1170ed025e94e">next</a>( Record&amp; r ) {</div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;         <span class="keywordflow">return</span> impl::next_primary( scope, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;      }</div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;</div><div class="line"><a name="l00578"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#abcfa7fd02ebaaa7469957419c4ec5a51">  578</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#abcfa7fd02ebaaa7469957419c4ec5a51">previous</a>( Record&amp; r ) {</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;         <span class="keywordflow">return</span> impl::previous_primary( scope, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;      }</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;</div><div class="line"><a name="l00588"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#ac4b05025c7c322960d187bfe7dc8114d">  588</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">get</span>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;         *<span class="keyword">reinterpret_cast&lt;</span>PrimaryType*<span class="keyword">&gt;</span>(&amp;r) = p;</div><div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;         <span class="keywordflow">return</span> impl::load_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;      }</div><div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;</div><div class="line"><a name="l00598"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#ad6c4f88bc829a08b6251c239de28ca73">  598</a></span>&#160;      <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#ad6c4f88bc829a08b6251c239de28ca73">lower_bound</a>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r ) {</div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;         *<span class="keyword">reinterpret_cast&lt;</span>PrimaryType*<span class="keyword">&gt;</span>(&amp;r) = p;</div><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;         <span class="keywordflow">return</span> impl::lower_bound_primary( scope, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;      }</div><div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;</div><div class="line"><a name="l00608"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a86f1104c5b6284b4b9080a3ce2d0ef7a">  608</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a86f1104c5b6284b4b9080a3ce2d0ef7a">upper_bound</a>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r ) {</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;         *<span class="keyword">reinterpret_cast&lt;</span>PrimaryType*<span class="keyword">&gt;</span>(&amp;r) = p;</div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;         <span class="keywordflow">return</span> impl::upper_bound_primary( scope, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;      }</div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;</div><div class="line"><a name="l00617"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a1fdb04c27bd2130501623aef533e9731">  617</a></span>&#160;       <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">remove</span>( <span class="keyword">const</span> Record&amp; r ) {</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;         <span class="keywordflow">return</span> impl::remove( scope, table_n, &amp;r ) != 0;</div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;      }</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;   };</div><div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div><div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;</div><div class="line"><a name="l00629"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a9c4b669d01e249d619a632d50ad495d5">  629</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a9c4b669d01e249d619a632d50ad495d5">front</a>( Record&amp; r ) { <span class="keywordflow">return</span> primary_index::front(r); }</div><div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;</div><div class="line"><a name="l00637"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a38eebc6026e3c2402814a28f5ff64948">  637</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a38eebc6026e3c2402814a28f5ff64948">back</a>( Record&amp; r )  { <span class="keywordflow">return</span> primary_index::back(r);  }</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;</div><div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a470f9cd773c61048f671c832af00ce34">  647</a></span>&#160;   <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">get</span>( <span class="keyword">const</span> PrimaryType&amp; p, Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;      *<span class="keyword">reinterpret_cast&lt;</span>PrimaryType*<span class="keyword">&gt;</span>(&amp;r) = p;</div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;      <span class="keywordflow">return</span> impl::load_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;   }</div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;</div><div class="line"><a name="l00659"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a0905b8038dda4a1818f13cb0b52834d8">  659</a></span>&#160;   <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">get</span>( Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;      <span class="keywordflow">return</span> impl::load_primary( s, code, table_n, &amp;r, <span class="keyword">sizeof</span>(Record) ) == <span class="keyword">sizeof</span>(Record);</div><div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;   }</div><div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;</div><div class="line"><a name="l00670"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a1d820a1a45f0b5551dc444579c9fc33d">  670</a></span>&#160;   <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a1d820a1a45f0b5551dc444579c9fc33d">store</a>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;      <span class="keywordflow">return</span> impl::store( s, table_n, &amp;r, <span class="keyword">sizeof</span>(r) ) != 0;</div><div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;   }</div><div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;</div><div class="line"><a name="l00681"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#ade7223ad3c3f22a7747f8d8658ce2332">  681</a></span>&#160;   <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#ade7223ad3c3f22a7747f8d8658ce2332">update</a>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;      <span class="keywordflow">return</span> impl::update( s, table_n, &amp;r, <span class="keyword">sizeof</span>(r) ) != 0;</div><div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;   }</div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;</div><div class="line"><a name="l00692"></a><span class="lineno"><a class="line" href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#accbc146551b43d8f208671f13ed9a584">  692</a></span>&#160;   <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">remove</span>( <span class="keyword">const</span> Record&amp; r, <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> s = scope ) {</div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;      <span class="keywordflow">return</span> impl::remove( s, table_n, &amp;r ) != 0;</div><div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;   }</div><div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;}; </div><div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;</div><div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;<span class="keyword">template</span>&lt;&gt;</div><div class="line"><a name="l00698"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html">  698</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1table__impl__obj.html">table_impl_obj</a>&lt;char*&gt; {</div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;    </div><div class="line"><a name="l00700"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#acb9287d137c7c666f6115d35bddccfaa">  700</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#acb9287d137c7c666f6115d35bddccfaa">store</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> datalen ) {</div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#ga1094b9ec775a7ee73e1ef1d14710dc5c">store_str</a>( scope, table_n, key, keylen, data, datalen );</div><div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;    }</div><div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;</div><div class="line"><a name="l00704"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#ae7fc087e479dad33b3d8e998a698be22">  704</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#ae7fc087e479dad33b3d8e998a698be22">update</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> datalen ) {</div><div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#gaae68a34eecfef147c41c36d34a7f7887">update_str</a>( scope, table_n, key, keylen, data, datalen );</div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;    }</div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;</div><div class="line"><a name="l00708"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#aa31ef5db1a04fe2955537b26eb4b26e1">  708</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#aa31ef5db1a04fe2955537b26eb4b26e1">front</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#gaa22211a254d878ab4aa78bcd93f1ca85">front_str</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;    }</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;</div><div class="line"><a name="l00712"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a3fd724489c39d5a72178833d20cebc35">  712</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a3fd724489c39d5a72178833d20cebc35">back</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#ga9c8473a7fd1e3d179d5f202ad744b1c7">back_str</a>( scope, code, table_n, data, len );</div><div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;    }</div><div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;</div><div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#afc0387bc0070d3ef7f7905e0c2b1f2a4">  716</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#afc0387bc0070d3ef7f7905e0c2b1f2a4">load</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> datalen ) {</div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#gac87dd131f6ae378be362144f7b068284">load_str</a>( scope, code, table_n, key, keylen, data, datalen );</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;    }</div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;</div><div class="line"><a name="l00720"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#acee0363e3072ce02a0b092ebc41adb87">  720</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#acee0363e3072ce02a0b092ebc41adb87">next</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> datalen ) {</div><div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#ga29fb2e3e8b45b5fe07ef3c4049b1ee79">next_str</a>( scope, code, table_n, key, keylen, data, datalen );</div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;    }</div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;</div><div class="line"><a name="l00724"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a8a010a0f35dd804bc7b7788088ea60aa">  724</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a8a010a0f35dd804bc7b7788088ea60aa">previous</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> datalen ) {</div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#ga8b891f35f20aee1941bb2f9eef5f43ef">previous_str</a>( scope, code, table_n, key, keylen, data, datalen );</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;    }</div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;</div><div class="line"><a name="l00728"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#aec62651ac94476c25e2b25e16fe0836b">  728</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#aec62651ac94476c25e2b25e16fe0836b">lower_bound</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> datalen ) {</div><div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#ga671bed299aa2b85916f4819bfa2f7465">lower_bound_str</a>( scope, code, table_n, key, keylen, data, datalen );</div><div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;    }</div><div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;</div><div class="line"><a name="l00732"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a2f8d7f3e83dce0681c7168dd9f5afe6a">  732</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a2f8d7f3e83dce0681c7168dd9f5afe6a">upper_bound</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* data, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> datalen ) {</div><div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#ga355396e5c382b2056bb8b159928b4517">upper_bound_str</a>( scope, code, table_n, key, keylen, data, datalen );</div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;    }</div><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;</div><div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#ace7ee03e00940be992d07cb652b37a9e">  736</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <span class="keyword">remove</span>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> scope, <a class="code" href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a> table_n, <span class="keywordtype">char</span>* key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen ) {</div><div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="group__dbstr.html#gaa468d0143c8e74dfad42915214cd2218">remove_str</a>( scope, table_n, key, keylen );</div><div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;    }</div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;};</div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;</div><div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;<span class="keyword">template</span>&lt;account_name scope, account_name code, table_name table_n, <span class="keyword">typename</span> PrimaryType&gt;</div><div class="line"><a name="l00755"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html">  755</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeosio_1_1var__table.html">var_table</a> {</div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    <span class="keyword">typedef</span> <a class="code" href="structeosio_1_1table__impl__obj.html">table_impl_obj&lt;PrimaryType&gt;</a> impl;</div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;</div><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00760"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#adc33a5b7395c351b1e35a4b66e09c399">  760</a></span>&#160;    <span class="keyword">typedef</span> PrimaryType <a class="code" href="structeosio_1_1var__table.html#adc33a5b7395c351b1e35a4b66e09c399">primary</a>;</div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;</div><div class="line"><a name="l00771"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a00817fbd0007392ed4efe9ea999a8237">  771</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a00817fbd0007392ed4efe9ea999a8237">store</a>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;        <span class="keywordflow">return</span> impl::store( scope, table_n, key, keylen, record, len );</div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    }</div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;</div><div class="line"><a name="l00784"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a588ebc6dfed95337c39b62f5513a0e8a">  784</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a588ebc6dfed95337c39b62f5513a0e8a">update</a>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;        <span class="keywordflow">return</span> impl::update( scope, table_n, key, keylen, record, len );</div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;    }</div><div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;    </div><div class="line"><a name="l00797"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a1dc5d880cb41f87f1764d4658356116e">  797</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a1dc5d880cb41f87f1764d4658356116e">front</a>( <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;        <span class="keywordflow">return</span> impl::front( scope, code, table_n, record, len );</div><div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;    }</div><div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;</div><div class="line"><a name="l00810"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a2e9fa6e171a6a4c67e5a526a017521f2">  810</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a2e9fa6e171a6a4c67e5a526a017521f2">back</a>( <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;        <span class="keywordflow">return</span> impl::back( scope, code, table_n, record, len );</div><div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;    }</div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;</div><div class="line"><a name="l00823"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a5efe5f0bd91ad24402963544b4ca6342">  823</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a5efe5f0bd91ad24402963544b4ca6342">load</a>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;       <span class="keywordflow">return</span> impl::load( scope, code, table_n, key, keylen, record, len );</div><div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;    } </div><div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;</div><div class="line"><a name="l00836"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a7b8230908088ffcaa59adc099244a281">  836</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a7b8230908088ffcaa59adc099244a281">next</a>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;       <span class="keywordflow">return</span> impl::next( scope, code, table_n, key, keylen, record, len );</div><div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;    }</div><div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;    </div><div class="line"><a name="l00849"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a8e533c69f8d7f6aa162a88ee0013afb1">  849</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a8e533c69f8d7f6aa162a88ee0013afb1">previous</a>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;       <span class="keywordflow">return</span> impl::previous( scope, code, table_n, key, keylen, record, len );</div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;    }</div><div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;</div><div class="line"><a name="l00862"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#a26654e7479f37c48b098fc81e1dc7ae2">  862</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#a26654e7479f37c48b098fc81e1dc7ae2">lower_bound</a>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;       <span class="keywordflow">return</span> impl::lower_bound( scope, code, table_n, key, keylen, record, len );</div><div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;    }</div><div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;</div><div class="line"><a name="l00875"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#ae8926ae179b24866a2b7942d57bb3a13">  875</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <a class="code" href="structeosio_1_1var__table.html#ae8926ae179b24866a2b7942d57bb3a13">upper_bound</a>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen, <span class="keywordtype">char</span>* record, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len ) {</div><div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;       <span class="keywordflow">return</span> impl::upper_bound( scope, code, table_n, key, keylen, record, len );</div><div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;    }</div><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;</div><div class="line"><a name="l00888"></a><span class="lineno"><a class="line" href="structeosio_1_1var__table.html#ab94583a9e229f0b8590f850d73efb8e2">  888</a></span>&#160;    <a class="code" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> <span class="keyword">remove</span>( primary key, <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> keylen ) {</div><div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;       <span class="keywordflow">return</span> impl::remove( scope, table_n, key, keylen );</div><div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;    }</div><div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;};</div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;</div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;</div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;</div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;} <span class="comment">// namespace eosio</span></div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;</div><div class="line"><a name="l00898"></a><span class="lineno"><a class="line" href="db_8hpp.html#a12e5fe301df20780085295196f30edc1">  898</a></span>&#160;<span class="preprocessor">#define TABLE2(NAME, SCOPE, CODE, TABLE, TYPE, PRIMARY_NAME, PRIMARY_TYPE, SECONDARY_NAME, SECONDARY_TYPE) \</span></div><div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;<span class="preprocessor">   using NAME = eosio::table&lt;N(SCOPE),N(CODE),N(TABLE),TYPE,PRIMARY_TYPE,SECONDARY_TYPE&gt;; \</span></div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;<span class="preprocessor">   typedef NAME::primary_index PRIMARY_NAME; \</span></div><div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;<span class="preprocessor">   typedef NAME::secondary_index SECONDARY_NAME;</span></div><div class="ttc" id="structeosio_1_1table_1_1secondary__index_html_a08ff936227b7dda93cec3aaebf2c728c"><div class="ttname"><a href="structeosio_1_1table_1_1secondary__index.html#a08ff936227b7dda93cec3aaebf2c728c">eosio::table::secondary_index::front</a></div><div class="ttdeci">static bool front(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:288</div></div>
<div class="ttc" id="group__dbstr_html_ga8b891f35f20aee1941bb2f9eef5f43ef"><div class="ttname"><a href="group__dbstr.html#ga8b891f35f20aee1941bb2f9eef5f43ef">previous_str</a></div><div class="ttdeci">int32_t previous_str(account_name scope, account_name code, table_name table, char *key, uint32_t keylen, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_ac443e3269ad18cae144db226b68592b6"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#ac443e3269ad18cae144db226b68592b6">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::front_primary</a></div><div class="ttdeci">static int32_t front_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:425</div></div>
<div class="ttc" id="namespaceeosio_html"><div class="ttname"><a href="namespaceeosio.html">eosio</a></div><div class="ttdoc">Used to forward declare raw functions. </div><div class="ttdef"><b>Definition:</b> account.hpp:12</div></div>
<div class="ttc" id="group__dbi64_html_gad3fd3e46fff8f036d13405ffea3694ef"><div class="ttname"><a href="group__dbi64.html#gad3fd3e46fff8f036d13405ffea3694ef">load_i64</a></div><div class="ttdeci">int32_t load_i64(account_name scope, account_name code, table_name table, void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1table_1_1primary__index_html"><div class="ttname"><a href="structeosio_1_1table_1_1primary__index.html">eosio::table::primary_index</a></div><div class="ttdoc">Primary Index of the Table. </div><div class="ttdef"><b>Definition:</b> db.hpp:191</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a5efe5f0bd91ad24402963544b4ca6342"><div class="ttname"><a href="structeosio_1_1var__table.html#a5efe5f0bd91ad24402963544b4ca6342">eosio::var_table::load</a></div><div class="ttdeci">int32_t load(primary key, uint32_t keylen, char *record, uint32_t len)</div><div class="ttdoc">Fetches a record from the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:823</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a1118483dfe5cfdc9db4e885ac297fa89"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a1118483dfe5cfdc9db4e885ac297fa89">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::previous_primary</a></div><div class="ttdeci">static int32_t previous_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:46</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_adf710073525e2157a4f6b5d6ec8c82b9"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#adf710073525e2157a4f6b5d6ec8c82b9">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::update</a></div><div class="ttdeci">static int32_t update(account_name scope, table_name table_n, const void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:461</div></div>
<div class="ttc" id="group__systemcapi_html_gae2a6ebaf48fe7c69f847ae18f109d09a"><div class="ttname"><a href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a></div><div class="ttdeci">void assert(uint32_t test, const char *cstr)</div><div class="ttdoc">Aborts processing of this action and unwinds all pending changes. </div></div>
<div class="ttc" id="group__dbi64_html_gafc8eea376abd5f3807e3361ea0c455e1"><div class="ttname"><a href="group__dbi64.html#gafc8eea376abd5f3807e3361ea0c455e1">remove_i64</a></div><div class="ttdeci">int32_t remove_i64(account_name scope, table_name table, void *data)</div></div>
<div class="ttc" id="group__dbi64_html_gae7756b507e7dfc530127a936de8af77d"><div class="ttname"><a href="group__dbi64.html#gae7756b507e7dfc530127a936de8af77d">back_i64</a></div><div class="ttdeci">int32_t back_i64(account_name scope, account_name code, table_name table, void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_a3fd724489c39d5a72178833d20cebc35"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a3fd724489c39d5a72178833d20cebc35">eosio::table_impl_obj&lt; char * &gt;::back</a></div><div class="ttdeci">static int32_t back(account_name scope, account_name code, table_name table_n, char *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:712</div></div>
<div class="ttc" id="group__dbi64_html_ga85171d550af40df7704b02c16fef3e29"><div class="ttname"><a href="group__dbi64.html#ga85171d550af40df7704b02c16fef3e29">lower_bound_i64</a></div><div class="ttdeci">int32_t lower_bound_i64(account_name scope, account_name code, table_name table, void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a4b1e12d534563c4982b6de19f7746816"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a4b1e12d534563c4982b6de19f7746816">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::lower_bound_secondary</a></div><div class="ttdeci">static int32_t lower_bound_secondary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:82</div></div>
<div class="ttc" id="structeosio_1_1table_1_1primary__index_html_a585455b262a9336d322aaf7c72760333"><div class="ttname"><a href="structeosio_1_1table_1_1primary__index.html#a585455b262a9336d322aaf7c72760333">eosio::table::primary_index::back</a></div><div class="ttdeci">static bool back(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:208</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_a30b05444df070322650ffeb88df4d61a"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a30b05444df070322650ffeb88df4d61a">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::store</a></div><div class="ttdeci">static int32_t store(account_name scope, table_name table_n, const void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:457</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a8e533c69f8d7f6aa162a88ee0013afb1"><div class="ttname"><a href="structeosio_1_1var__table.html#a8e533c69f8d7f6aa162a88ee0013afb1">eosio::var_table::previous</a></div><div class="ttdeci">int32_t previous(primary key, uint32_t keylen, char *record, uint32_t len)</div><div class="ttdoc">Fetches a record which key is previous of the given key. </div><div class="ttdef"><b>Definition:</b> db.hpp:849</div></div>
<div class="ttc" id="structeosio_1_1var__table_html"><div class="ttname"><a href="structeosio_1_1var__table.html">eosio::var_table</a></div><div class="ttdef"><b>Definition:</b> db.hpp:755</div></div>
<div class="ttc" id="group__dbi128i128_html_ga39a96fa6ebf0c2d43c2314f658a5604d"><div class="ttname"><a href="group__dbi128i128.html#ga39a96fa6ebf0c2d43c2314f658a5604d">update_i128i128</a></div><div class="ttdeci">int32_t update_i128i128(account_name scope, table_name table, const void *data, uint32_t len)</div></div>
<div class="ttc" id="group__types_html_ga3b44deb4b3b8d6ebab339d1263692117"><div class="ttname"><a href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a></div><div class="ttdeci">uint64_t account_name</div><div class="ttdef"><b>Definition:</b> types.h:35</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a8bcd9578802cc603df4456b7b2358f3a"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a8bcd9578802cc603df4456b7b2358f3a">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::next_primary</a></div><div class="ttdeci">static int32_t next_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:42</div></div>
<div class="ttc" id="group__dbi128i128_html_ga8859d7c4b352b66002cf5702a764c464"><div class="ttname"><a href="group__dbi128i128.html#ga8859d7c4b352b66002cf5702a764c464">front_primary_i128i128</a></div><div class="ttdeci">int32_t front_primary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a5ec44017444fab8c604403e7b43c5f60"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a5ec44017444fab8c604403e7b43c5f60">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::load_secondary</a></div><div class="ttdeci">static int32_t load_secondary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:66</div></div>
<div class="ttc" id="group__types_html_gaaa5d1cd013383c889537491c3cfd9aad"><div class="ttname"><a href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a></div><div class="ttdeci">unsigned long long uint64_t</div><div class="ttdef"><b>Definition:</b> types.h:18</div></div>
<div class="ttc" id="structeosio_1_1table_1_1primary__index_html_abce65bbe7e4357ec9773ed260911b6e3"><div class="ttname"><a href="structeosio_1_1table_1_1primary__index.html#abce65bbe7e4357ec9773ed260911b6e3">eosio::table::primary_index::front</a></div><div class="ttdeci">static bool front(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:198</div></div>
<div class="ttc" id="group__dbi64_html_gae5a73591c3962aea98e02d42948865b8"><div class="ttname"><a href="group__dbi64.html#gae5a73591c3962aea98e02d42948865b8">upper_bound_i64</a></div><div class="ttdeci">int32_t upper_bound_i64(account_name scope, account_name code, table_name table, void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_ac18522cec1af165c618a6d4f038c2cbc"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ac18522cec1af165c618a6d4f038c2cbc">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::lower_bound_primary</a></div><div class="ttdeci">static int32_t lower_bound_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:54</div></div>
<div class="ttc" id="structeosio_1_1table_1_1secondary__index_html_a7cf9295145c37cabc471b55ed5eaf7e1"><div class="ttname"><a href="structeosio_1_1table_1_1secondary__index.html#a7cf9295145c37cabc471b55ed5eaf7e1">eosio::table::secondary_index::lower_bound</a></div><div class="ttdeci">static bool lower_bound(const SecondaryType &amp;p, Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:341</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_a897c4057103150541df53e436651ea54"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a897c4057103150541df53e436651ea54">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::back_primary</a></div><div class="ttdeci">static int32_t back_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:429</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_html"><div class="ttname"><a href="structeosio_1_1table__impl__obj.html">eosio::table_impl_obj</a></div><div class="ttdef"><b>Definition:</b> db.hpp:20</div></div>
<div class="ttc" id="group__dbstr_html_gaa468d0143c8e74dfad42915214cd2218"><div class="ttname"><a href="group__dbstr.html#gaa468d0143c8e74dfad42915214cd2218">remove_str</a></div><div class="ttdeci">int32_t remove_str(account_name scope, table_name table, char *key, uint32_t keylen)</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index_html_a3bf72051f35c5a11f70e658f50b56673"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a3bf72051f35c5a11f70e658f50b56673">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::primary_index::front</a></div><div class="ttdeci">static bool front(Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:551</div></div>
<div class="ttc" id="group__types_html_ga330cbf48637c876c57f78d03fd4730bb"><div class="ttname"><a href="group__types.html#ga330cbf48637c876c57f78d03fd4730bb">table_name</a></div><div class="ttdeci">uint64_t table_name</div><div class="ttdef"><b>Definition:</b> types.h:38</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_adc33a5b7395c351b1e35a4b66e09c399"><div class="ttname"><a href="structeosio_1_1var__table.html#adc33a5b7395c351b1e35a4b66e09c399">eosio::var_table::primary</a></div><div class="ttdeci">PrimaryType primary</div><div class="ttdef"><b>Definition:</b> db.hpp:760</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index_html_abcfa7fd02ebaaa7469957419c4ec5a51"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#abcfa7fd02ebaaa7469957419c4ec5a51">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::primary_index::previous</a></div><div class="ttdeci">static bool previous(Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:578</div></div>
<div class="ttc" id="group__dbstr_html_ga9c8473a7fd1e3d179d5f202ad744b1c7"><div class="ttname"><a href="group__dbstr.html#ga9c8473a7fd1e3d179d5f202ad744b1c7">back_str</a></div><div class="ttdeci">int32_t back_str(account_name scope, account_name code, table_name table, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index_html_ada2fd80e8f0841bda9d1170ed025e94e"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#ada2fd80e8f0841bda9d1170ed025e94e">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::primary_index::next</a></div><div class="ttdeci">static bool next(Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:569</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_a51cbc6ff29b3cbbb2f42d16b2793e19d"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a51cbc6ff29b3cbbb2f42d16b2793e19d">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::load_primary</a></div><div class="ttdeci">static int32_t load_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:433</div></div>
<div class="ttc" id="structeosio_1_1table_html_a821eaa08caa976e17c4543c4be09713e"><div class="ttname"><a href="structeosio_1_1table.html#a821eaa08caa976e17c4543c4be09713e">eosio::table::update</a></div><div class="ttdeci">static bool update(const Record &amp;r, uint64_t s=scope)</div><div class="ttdoc">Update a record in the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:403</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a276705f76d4dc728a798610ebfad826e"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a276705f76d4dc728a798610ebfad826e">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::back_secondary</a></div><div class="ttdeci">static int32_t back_secondary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:62</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_a2f8d7f3e83dce0681c7168dd9f5afe6a"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a2f8d7f3e83dce0681c7168dd9f5afe6a">eosio::table_impl_obj&lt; char * &gt;::upper_bound</a></div><div class="ttdeci">static int32_t upper_bound(account_name scope, account_name code, table_name table_n, char *key, uint32_t keylen, char *data, uint32_t datalen)</div><div class="ttdef"><b>Definition:</b> db.hpp:732</div></div>
<div class="ttc" id="group__dbi64_html_ga2c28d72f6d9a769fd009e520aba1a23f"><div class="ttname"><a href="group__dbi64.html#ga2c28d72f6d9a769fd009e520aba1a23f">previous_i64</a></div><div class="ttdeci">int32_t previous_i64(account_name scope, account_name code, table_name table, void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a5a2c854655bc9d028e78ca8e2ad09faa"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a5a2c854655bc9d028e78ca8e2ad09faa">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::upper_bound_primary</a></div><div class="ttdeci">static int32_t upper_bound_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:50</div></div>
<div class="ttc" id="group__dbi128i128_html_ga0f1d38db45982bb5d4d1befef0fa71de"><div class="ttname"><a href="group__dbi128i128.html#ga0f1d38db45982bb5d4d1befef0fa71de">load_primary_i128i128</a></div><div class="ttdeci">int32_t load_primary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_afc0387bc0070d3ef7f7905e0c2b1f2a4"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#afc0387bc0070d3ef7f7905e0c2b1f2a4">eosio::table_impl_obj&lt; char * &gt;::load</a></div><div class="ttdeci">static int32_t load(account_name scope, account_name code, table_name table_n, char *key, uint32_t keylen, char *data, uint32_t datalen)</div><div class="ttdef"><b>Definition:</b> db.hpp:716</div></div>
<div class="ttc" id="group__dbi128i128_html_ga9902025d081dff9690f78402c45a81a7"><div class="ttname"><a href="group__dbi128i128.html#ga9902025d081dff9690f78402c45a81a7">back_secondary_i128i128</a></div><div class="ttdeci">int32_t back_secondary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_ae298b92bf93d7123b2d3c6bbeadeb7b8"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ae298b92bf93d7123b2d3c6bbeadeb7b8">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::next_secondary</a></div><div class="ttdeci">static int32_t next_secondary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:70</div></div>
<div class="ttc" id="structeosio_1_1table_html_a1005db7b573f6d10e02bd440e5e2e995"><div class="ttname"><a href="structeosio_1_1table.html#a1005db7b573f6d10e02bd440e5e2e995">eosio::table::secondary</a></div><div class="ttdeci">SecondaryType secondary</div><div class="ttdef"><b>Definition:</b> db.hpp:186</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_a9e5243a08cf118aaf53ddee8881f4c68"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a9e5243a08cf118aaf53ddee8881f4c68">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::next_primary</a></div><div class="ttdeci">static int32_t next_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:437</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a1dc5d880cb41f87f1764d4658356116e"><div class="ttname"><a href="structeosio_1_1var__table.html#a1dc5d880cb41f87f1764d4658356116e">eosio::var_table::front</a></div><div class="ttdeci">int32_t front(char *record, uint32_t len)</div><div class="ttdoc">Fetches the front of the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:797</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index_html_ad6c4f88bc829a08b6251c239de28ca73"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#ad6c4f88bc829a08b6251c239de28ca73">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::primary_index::lower_bound</a></div><div class="ttdeci">static bool lower_bound(const PrimaryType &amp;p, Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:598</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_ab779d97ff21810f1130b55e119367771"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ab779d97ff21810f1130b55e119367771">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::front_primary</a></div><div class="ttdeci">static int32_t front_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:30</div></div>
<div class="ttc" id="group__dbi128i128_html_ga093ef261efdf4ba1f92804ef8df3fcb2"><div class="ttname"><a href="group__dbi128i128.html#ga093ef261efdf4ba1f92804ef8df3fcb2">back_primary_i128i128</a></div><div class="ttdeci">int32_t back_primary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table_1_1primary__index_html_a08395ff02bdb5ca81e944e473709a32a"><div class="ttname"><a href="structeosio_1_1table_1_1primary__index.html#a08395ff02bdb5ca81e944e473709a32a">eosio::table::primary_index::lower_bound</a></div><div class="ttdeci">static bool lower_bound(const PrimaryType &amp;p, Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:251</div></div>
<div class="ttc" id="db_8h_html"><div class="ttname"><a href="db_8h.html">db.h</a></div><div class="ttdoc">Defines C API for interfacing with blockchain database. </div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_aa31ef5db1a04fe2955537b26eb4b26e1"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#aa31ef5db1a04fe2955537b26eb4b26e1">eosio::table_impl_obj&lt; char * &gt;::front</a></div><div class="ttdeci">static int32_t front(account_name scope, account_name code, table_name table_n, char *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:708</div></div>
<div class="ttc" id="group__dbi128i128_html_ga00f17a7da0946ae71ab7d240c3dc3ecb"><div class="ttname"><a href="group__dbi128i128.html#ga00f17a7da0946ae71ab7d240c3dc3ecb">load_secondary_i128i128</a></div><div class="ttdeci">int32_t load_secondary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a656b0066c9dd3324a90875c2ffa6b3f9"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a656b0066c9dd3324a90875c2ffa6b3f9">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::load_primary</a></div><div class="ttdeci">static int32_t load_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:38</div></div>
<div class="ttc" id="group__dbstr_html_gac87dd131f6ae378be362144f7b068284"><div class="ttname"><a href="group__dbstr.html#gac87dd131f6ae378be362144f7b068284">load_str</a></div><div class="ttdeci">int32_t load_str(account_name scope, account_name code, table_name table, char *key, uint32_t keylen, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_html_a1d820a1a45f0b5551dc444579c9fc33d"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a1d820a1a45f0b5551dc444579c9fc33d">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::store</a></div><div class="ttdeci">static bool store(const Record &amp;r, uint64_t s=scope)</div><div class="ttdoc">Store a record to the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:670</div></div>
<div class="ttc" id="group__dbstr_html_ga355396e5c382b2056bb8b159928b4517"><div class="ttname"><a href="group__dbstr.html#ga355396e5c382b2056bb8b159928b4517">upper_bound_str</a></div><div class="ttdeci">int32_t upper_bound_str(account_name scope, account_name code, table_name table, char *key, uint32_t keylen, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="group__types_html_ga06896e8c53f721507066c079052171f8"><div class="ttname"><a href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a></div><div class="ttdeci">unsigned long uint32_t</div><div class="ttdef"><b>Definition:</b> types.h:19</div></div>
<div class="ttc" id="group__dbi128i128_html_gada7912d463fa7fcada424c66548491aa"><div class="ttname"><a href="group__dbi128i128.html#gada7912d463fa7fcada424c66548491aa">previous_primary_i128i128</a></div><div class="ttdeci">int32_t previous_primary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table_1_1primary__index_html_a09d324b41f6bc408685510358a2656a5"><div class="ttname"><a href="structeosio_1_1table_1_1primary__index.html#a09d324b41f6bc408685510358a2656a5">eosio::table::primary_index::next</a></div><div class="ttdeci">static bool next(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:218</div></div>
<div class="ttc" id="structeosio_1_1table_1_1secondary__index_html_a17eb07b4e2c01113698b778daf753de9"><div class="ttname"><a href="structeosio_1_1table_1_1secondary__index.html#a17eb07b4e2c01113698b778daf753de9">eosio::table::secondary_index::back</a></div><div class="ttdeci">static bool back(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:298</div></div>
<div class="ttc" id="group__dbstr_html_ga671bed299aa2b85916f4819bfa2f7465"><div class="ttname"><a href="group__dbstr.html#ga671bed299aa2b85916f4819bfa2f7465">lower_bound_str</a></div><div class="ttdeci">int32_t lower_bound_str(account_name scope, account_name code, table_name table, char *key, uint32_t keylen, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a2e9fa6e171a6a4c67e5a526a017521f2"><div class="ttname"><a href="structeosio_1_1var__table.html#a2e9fa6e171a6a4c67e5a526a017521f2">eosio::var_table::back</a></div><div class="ttdeci">int32_t back(char *record, uint32_t len)</div><div class="ttdoc">Fetches the back of the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:810</div></div>
<div class="ttc" id="group__dbi128i128_html_gac421e93fee948b316e6d60d634600bfb"><div class="ttname"><a href="group__dbi128i128.html#gac421e93fee948b316e6d60d634600bfb">next_secondary_i128i128</a></div><div class="ttdeci">int32_t next_secondary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a3358397ee2eebb30a855fa28276e418b"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a3358397ee2eebb30a855fa28276e418b">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::upper_bound_secondary</a></div><div class="ttdeci">static int32_t upper_bound_secondary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:78</div></div>
<div class="ttc" id="group__dbi128i128_html_ga17c3922c81016650988af89e22090b9d"><div class="ttname"><a href="group__dbi128i128.html#ga17c3922c81016650988af89e22090b9d">previous_secondary_i128i128</a></div><div class="ttdeci">int32_t previous_secondary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_html_a9ce2b580a66e886bdb8c02369caeee9e"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a9ce2b580a66e886bdb8c02369caeee9e">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::primary</a></div><div class="ttdeci">PrimaryType primary</div><div class="ttdef"><b>Definition:</b> db.hpp:538</div></div>
<div class="ttc" id="group__dbi128i128_html_gaf4aabe650dd7a2e795acb6635255af2c"><div class="ttname"><a href="group__dbi128i128.html#gaf4aabe650dd7a2e795acb6635255af2c">front_secondary_i128i128</a></div><div class="ttdeci">int32_t front_secondary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="group__dbstr_html_gaae68a34eecfef147c41c36d34a7f7887"><div class="ttname"><a href="group__dbstr.html#gaae68a34eecfef147c41c36d34a7f7887">update_str</a></div><div class="ttdeci">int32_t update_str(account_name scope, table_name table, char *key, uint32_t keylen, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_a1682cd50e42d61936a5cb2849dae160d"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a1682cd50e42d61936a5cb2849dae160d">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::lower_bound_primary</a></div><div class="ttdeci">static int32_t lower_bound_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:445</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_acb9287d137c7c666f6115d35bddccfaa"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#acb9287d137c7c666f6115d35bddccfaa">eosio::table_impl_obj&lt; char * &gt;::store</a></div><div class="ttdeci">static int32_t store(account_name scope, table_name table_n, char *key, uint32_t keylen, char *data, uint32_t datalen)</div><div class="ttdef"><b>Definition:</b> db.hpp:700</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_abeb4e8c925831884d116188dcffe8d9f"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#abeb4e8c925831884d116188dcffe8d9f">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::update</a></div><div class="ttdeci">static int32_t update(account_name scope, table_name table_n, const void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:94</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_html_a38eebc6026e3c2402814a28f5ff64948"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a38eebc6026e3c2402814a28f5ff64948">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::back</a></div><div class="ttdeci">static bool back(Record &amp;r)</div><div class="ttdoc">Fetches the back of the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:637</div></div>
<div class="ttc" id="group__dbi64_html_gab722acdec925f6ac9c7a8a38f42c78d6"><div class="ttname"><a href="group__dbi64.html#gab722acdec925f6ac9c7a8a38f42c78d6">store_i64</a></div><div class="ttdeci">int32_t store_i64(account_name scope, table_name table, const void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1table_1_1secondary__index_html_a6565502bb9fb2c7361e935dc35cf90da"><div class="ttname"><a href="structeosio_1_1table_1_1secondary__index.html#a6565502bb9fb2c7361e935dc35cf90da">eosio::table::secondary_index::next</a></div><div class="ttdeci">static bool next(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:308</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_html_ade7223ad3c3f22a7747f8d8658ce2332"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#ade7223ad3c3f22a7747f8d8658ce2332">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::update</a></div><div class="ttdeci">static bool update(const Record &amp;r, uint64_t s=scope)</div><div class="ttdoc">Update a record in the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:681</div></div>
<div class="ttc" id="structeosio_1_1table_html_ac2e0a113e71ced0ef76d264896d121fe"><div class="ttname"><a href="structeosio_1_1table.html#ac2e0a113e71ced0ef76d264896d121fe">eosio::table::store</a></div><div class="ttdeci">static bool store(const Record &amp;r, uint64_t s=scope)</div><div class="ttdoc">Store a record in the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:390</div></div>
<div class="ttc" id="structeosio_1_1table_1_1primary__index_html_a6a92bead9254e47f9de1bf3ca66263cc"><div class="ttname"><a href="structeosio_1_1table_1_1primary__index.html#a6a92bead9254e47f9de1bf3ca66263cc">eosio::table::primary_index::previous</a></div><div class="ttdeci">static bool previous(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:228</div></div>
<div class="ttc" id="structeosio_1_1table_1_1secondary__index_html"><div class="ttname"><a href="structeosio_1_1table_1_1secondary__index.html">eosio::table::secondary_index</a></div><div class="ttdoc">Secondary Index of the Table. </div><div class="ttdef"><b>Definition:</b> db.hpp:281</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_a757f7b9ddec0c859f099b47f412573d6"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a757f7b9ddec0c859f099b47f412573d6">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::previous_primary</a></div><div class="ttdeci">static int32_t previous_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:441</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a26654e7479f37c48b098fc81e1dc7ae2"><div class="ttname"><a href="structeosio_1_1var__table.html#a26654e7479f37c48b098fc81e1dc7ae2">eosio::var_table::lower_bound</a></div><div class="ttdeci">int32_t lower_bound(primary key, uint32_t keylen, char *record, uint32_t len)</div><div class="ttdoc">Fetches a record which key is the nearest larger than or equal to the given key. </div><div class="ttdef"><b>Definition:</b> db.hpp:862</div></div>
<div class="ttc" id="group__dbi64_html_gab092362b1095ea7712a8cd3c5e23432d"><div class="ttname"><a href="group__dbi64.html#gab092362b1095ea7712a8cd3c5e23432d">next_i64</a></div><div class="ttdeci">int32_t next_i64(account_name scope, account_name code, table_name table, void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a588ebc6dfed95337c39b62f5513a0e8a"><div class="ttname"><a href="structeosio_1_1var__table.html#a588ebc6dfed95337c39b62f5513a0e8a">eosio::var_table::update</a></div><div class="ttdeci">int32_t update(primary key, uint32_t keylen, char *record, uint32_t len)</div><div class="ttdoc">Update a record in the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:784</div></div>
<div class="ttc" id="group__types_html_ga0d2e949ab6a1bb62f1b295cc79bc1f60"><div class="ttname"><a href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a></div><div class="ttdeci">long int32_t</div><div class="ttdef"><b>Definition:</b> types.h:25</div></div>
<div class="ttc" id="structeosio_1_1table_1_1secondary__index_html_a027e35406eb8f7dd645c5597b9da9965"><div class="ttname"><a href="structeosio_1_1table_1_1secondary__index.html#a027e35406eb8f7dd645c5597b9da9965">eosio::table::secondary_index::upper_bound</a></div><div class="ttdeci">static bool upper_bound(const SecondaryType &amp;p, Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:352</div></div>
<div class="ttc" id="group__dbi64_html_gad2546b4764f3728f9bc7ffaf3953fb60"><div class="ttname"><a href="group__dbi64.html#gad2546b4764f3728f9bc7ffaf3953fb60">update_i64</a></div><div class="ttdeci">int32_t update_i64(account_name scope, table_name table, const void *data, uint32_t datalen)</div></div>
<div class="ttc" id="group__dbi128i128_html_ga1e1fc6293eddd10cd4155ef9ee2d945b"><div class="ttname"><a href="group__dbi128i128.html#ga1e1fc6293eddd10cd4155ef9ee2d945b">upper_bound_primary_i128i128</a></div><div class="ttdeci">int32_t upper_bound_primary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index_html_a955eb5d4fbe6eeff5e3e38a87cf69fde"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a955eb5d4fbe6eeff5e3e38a87cf69fde">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::primary_index::back</a></div><div class="ttdeci">static bool back(Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:560</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4_html_a8f6332e4ab69d70c9597ee29e98ea30c"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint64__t_08_00_010_01_4.html#a8f6332e4ab69d70c9597ee29e98ea30c">eosio::table_impl&lt; sizeof(uint64_t), 0 &gt;::upper_bound_primary</a></div><div class="ttdeci">static int32_t upper_bound_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:449</div></div>
<div class="ttc" id="structeosio_1_1table_html"><div class="ttname"><a href="structeosio_1_1table.html">eosio::table</a></div><div class="ttdef"><b>Definition:</b> db.hpp:179</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a00817fbd0007392ed4efe9ea999a8237"><div class="ttname"><a href="structeosio_1_1var__table.html#a00817fbd0007392ed4efe9ea999a8237">eosio::var_table::store</a></div><div class="ttdeci">int32_t store(primary key, uint32_t keylen, char *record, uint32_t len)</div><div class="ttdoc">Store a record to the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:771</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_ae8926ae179b24866a2b7942d57bb3a13"><div class="ttname"><a href="structeosio_1_1var__table.html#ae8926ae179b24866a2b7942d57bb3a13">eosio::var_table::upper_bound</a></div><div class="ttdeci">int32_t upper_bound(primary key, uint32_t keylen, char *record, uint32_t len)</div><div class="ttdoc">Fetches a record which key is the nearest larger than the given key. </div><div class="ttdef"><b>Definition:</b> db.hpp:875</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_a8a010a0f35dd804bc7b7788088ea60aa"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#a8a010a0f35dd804bc7b7788088ea60aa">eosio::table_impl_obj&lt; char * &gt;::previous</a></div><div class="ttdeci">static int32_t previous(account_name scope, account_name code, table_name table_n, char *key, uint32_t keylen, char *data, uint32_t datalen)</div><div class="ttdef"><b>Definition:</b> db.hpp:724</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_ad2b20a599ac48e0c893a1887a84c3d6b"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ad2b20a599ac48e0c893a1887a84c3d6b">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::front_secondary</a></div><div class="ttdeci">static int32_t front_secondary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:58</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_a81de18435a6a2d6654f5c5d575bef243"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#a81de18435a6a2d6654f5c5d575bef243">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::back_primary</a></div><div class="ttdeci">static int32_t back_primary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:34</div></div>
<div class="ttc" id="group__types_html_ga396787e5ec029b1205bd3e4cd9763e7d"><div class="ttname"><a href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a></div><div class="ttdeci">unsigned __int128 uint128_t</div><div class="ttdef"><b>Definition:</b> types.h:17</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_ac5cb790d63cfe4af16d2b4f2e52d55e4"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ac5cb790d63cfe4af16d2b4f2e52d55e4">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::store</a></div><div class="ttdeci">static int32_t store(account_name scope, table_name table_n, const void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:90</div></div>
<div class="ttc" id="group__dbi128i128_html_gabeb18d4d78cc24e01d9f2a93c57fc09a"><div class="ttname"><a href="group__dbi128i128.html#gabeb18d4d78cc24e01d9f2a93c57fc09a">lower_bound_secondary_i128i128</a></div><div class="ttdeci">int32_t lower_bound_secondary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="group__dbstr_html_ga29fb2e3e8b45b5fe07ef3c4049b1ee79"><div class="ttname"><a href="group__dbstr.html#ga29fb2e3e8b45b5fe07ef3c4049b1ee79">next_str</a></div><div class="ttdeci">int32_t next_str(account_name scope, account_name code, table_name table, char *key, uint32_t keylen, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_aec62651ac94476c25e2b25e16fe0836b"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#aec62651ac94476c25e2b25e16fe0836b">eosio::table_impl_obj&lt; char * &gt;::lower_bound</a></div><div class="ttdeci">static int32_t lower_bound(account_name scope, account_name code, table_name table_n, char *key, uint32_t keylen, char *data, uint32_t datalen)</div><div class="ttdef"><b>Definition:</b> db.hpp:728</div></div>
<div class="ttc" id="group__dbi128i128_html_ga31cc0c52eccc34d97d28cfd373a2a356"><div class="ttname"><a href="group__dbi128i128.html#ga31cc0c52eccc34d97d28cfd373a2a356">remove_i128i128</a></div><div class="ttdeci">int32_t remove_i128i128(account_name scope, table_name table, const void *data)</div></div>
<div class="ttc" id="group__dbi128i128_html_ga0244e6b697281bc05d94764af17a936b"><div class="ttname"><a href="group__dbi128i128.html#ga0244e6b697281bc05d94764af17a936b">next_primary_i128i128</a></div><div class="ttdeci">int32_t next_primary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1table_1_1secondary__index_html_afa1dac6d882bbe45001bb90000c58c6b"><div class="ttname"><a href="structeosio_1_1table_1_1secondary__index.html#afa1dac6d882bbe45001bb90000c58c6b">eosio::table::secondary_index::previous</a></div><div class="ttdeci">static bool previous(Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:318</div></div>
<div class="ttc" id="group__dbstr_html_ga1094b9ec775a7ee73e1ef1d14710dc5c"><div class="ttname"><a href="group__dbstr.html#ga1094b9ec775a7ee73e1ef1d14710dc5c">store_str</a></div><div class="ttdeci">int32_t store_str(account_name scope, table_name table, char *key, uint32_t keylen, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_acee0363e3072ce02a0b092ebc41adb87"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#acee0363e3072ce02a0b092ebc41adb87">eosio::table_impl_obj&lt; char * &gt;::next</a></div><div class="ttdeci">static int32_t next(account_name scope, account_name code, table_name table_n, char *key, uint32_t keylen, char *data, uint32_t datalen)</div><div class="ttdef"><b>Definition:</b> db.hpp:720</div></div>
<div class="ttc" id="group__dbi128i128_html_ga86c181758bb05e5e85a5e5ea245feeab"><div class="ttname"><a href="group__dbi128i128.html#ga86c181758bb05e5e85a5e5ea245feeab">store_i128i128</a></div><div class="ttdeci">int32_t store_i128i128(account_name scope, table_name table, const void *data, uint32_t len)</div></div>
<div class="ttc" id="structeosio_1_1var__table_html_a7b8230908088ffcaa59adc099244a281"><div class="ttname"><a href="structeosio_1_1var__table.html#a7b8230908088ffcaa59adc099244a281">eosio::var_table::next</a></div><div class="ttdeci">int32_t next(primary key, uint32_t keylen, char *record, uint32_t len)</div><div class="ttdoc">Fetches a record which key is next of the given key. </div><div class="ttdef"><b>Definition:</b> db.hpp:836</div></div>
<div class="ttc" id="structeosio_1_1table_html_aed60ea9a6cabdd7d471c23656a88364c"><div class="ttname"><a href="structeosio_1_1table.html#aed60ea9a6cabdd7d471c23656a88364c">eosio::table::primary</a></div><div class="ttdeci">PrimaryType primary</div><div class="ttdef"><b>Definition:</b> db.hpp:182</div></div>
<div class="ttc" id="structeosio_1_1table__impl_html"><div class="ttname"><a href="structeosio_1_1table__impl.html">eosio::table_impl</a></div><div class="ttdef"><b>Definition:</b> db.hpp:24</div></div>
<div class="ttc" id="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4_html_ad225ab871c24897669eaf383975a5d9d"><div class="ttname"><a href="structeosio_1_1table__impl_3_01sizeof_07uint128__t_08_00_01sizeof_07uint128__t_08_4.html#ad225ab871c24897669eaf383975a5d9d">eosio::table_impl&lt; sizeof(uint128_t), sizeof(uint128_t)&gt;::previous_secondary</a></div><div class="ttdeci">static int32_t previous_secondary(uint64_t scope, uint64_t code, uint64_t table_n, void *data, uint32_t len)</div><div class="ttdef"><b>Definition:</b> db.hpp:74</div></div>
<div class="ttc" id="structeosio_1_1table__impl__obj_3_01char_01_5_01_4_html_ae7fc087e479dad33b3d8e998a698be22"><div class="ttname"><a href="structeosio_1_1table__impl__obj_3_01char_01_5_01_4.html#ae7fc087e479dad33b3d8e998a698be22">eosio::table_impl_obj&lt; char * &gt;::update</a></div><div class="ttdeci">static int32_t update(account_name scope, table_name table_n, char *key, uint32_t keylen, char *data, uint32_t datalen)</div><div class="ttdef"><b>Definition:</b> db.hpp:704</div></div>
<div class="ttc" id="group__dbi128i128_html_ga4251461fc0fcb2e9d19e5a367c1e487b"><div class="ttname"><a href="group__dbi128i128.html#ga4251461fc0fcb2e9d19e5a367c1e487b">upper_bound_secondary_i128i128</a></div><div class="ttdeci">int32_t upper_bound_secondary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="group__dbi128i128_html_gae929bc3cdb953dcddf027198b7edfb87"><div class="ttname"><a href="group__dbi128i128.html#gae929bc3cdb953dcddf027198b7edfb87">lower_bound_primary_i128i128</a></div><div class="ttdeci">int32_t lower_bound_primary_i128i128(account_name scope, account_name code, table_name table, void *data, uint32_t len)</div></div>
<div class="ttc" id="group__dbstr_html_gaa22211a254d878ab4aa78bcd93f1ca85"><div class="ttname"><a href="group__dbstr.html#gaa22211a254d878ab4aa78bcd93f1ca85">front_str</a></div><div class="ttdeci">int32_t front_str(account_name scope, account_name code, table_name table, char *value, uint32_t valuelen)</div></div>
<div class="ttc" id="group__dbi64_html_ga75fc1182cf2fc76604bfce4b6066bd62"><div class="ttname"><a href="group__dbi64.html#ga75fc1182cf2fc76604bfce4b6066bd62">front_i64</a></div><div class="ttdeci">int32_t front_i64(account_name scope, account_name code, table_name table, void *data, uint32_t datalen)</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_html_a9c4b669d01e249d619a632d50ad495d5"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4.html#a9c4b669d01e249d619a632d50ad495d5">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::front</a></div><div class="ttdeci">static bool front(Record &amp;r)</div><div class="ttdoc">Fetches the front of the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:629</div></div>
<div class="ttc" id="structeosio_1_1table_1_1primary__index_html_acf2526a920927b24f507eb9bac753604"><div class="ttname"><a href="structeosio_1_1table_1_1primary__index.html#acf2526a920927b24f507eb9bac753604">eosio::table::primary_index::upper_bound</a></div><div class="ttdeci">static bool upper_bound(const PrimaryType &amp;p, Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:262</div></div>
<div class="ttc" id="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index_html_a86f1104c5b6284b4b9080a3ce2d0ef7a"><div class="ttname"><a href="structeosio_1_1table_3_01scope_00_01code_00_01table__n_00_01_record_00_01_primary_type_00_01void_01_4_1_1primary__index.html#a86f1104c5b6284b4b9080a3ce2d0ef7a">eosio::table&lt; scope, code, table_n, Record, PrimaryType, void &gt;::primary_index::upper_bound</a></div><div class="ttdeci">static bool upper_bound(const PrimaryType &amp;p, Record &amp;r)</div><div class="ttdef"><b>Definition:</b> db.hpp:608</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
